메인 콘텐츠로 건너뛰기
PATCH
광고주 예산 수정

인증

Authorization
string
header
필수

Bearer 인증. 액세스 토큰을 Authorization: Bearer <token> 헤더로 전달합니다.

경로 매개변수

advertiser_id
string<uuid>
필수

본문

application/json

PATCH /manager/advertisers/{id}/budget — account_advertiser:budget 권한 필요.

budget
number
필수

사용자에게 할당할 예산.

필수 범위: 0 <= x <= 9999999999.99
credit
number
필수

사용자에게 할당할 크레딧.

필수 범위: 0 <= x <= 9999999999.99
expected_budget
number
필수

조회 시점의 광고주 예산 스냅샷. optimistic-lock 토큰으로, 저장된 예산과 일치하지 않으면 409를 반환합니다.

필수 범위: x >= 0
expected_credit
number
필수

조회 시점의 광고주 크레딧 스냅샷. optimistic-lock 토큰으로, 저장된 크레딧과 일치하지 않으면 409를 반환합니다.

필수 범위: x >= 0

응답

성공 응답

사용자 조회 응답 스키마.

created_at
string<date-time>
필수
email
string
필수

사용자 이메일

id
string<uuid>
필수

사용자 ID

is_active
boolean
필수

사용자 활성 여부

role
enum<string>
필수

유저 역할

사용 가능한 옵션:
advertiser,
operator,
admin,
developer
updated_at
string<date-time>
필수
budget
number
기본값:0

사용자 예산

capabilities
enum<string>[]

이 계정의 현재 역할에 따라 허용되는 권한 목록입니다.

사용 가능한 옵션:
account_advertiser:budget,
account_advertiser:deactivate,
account_advertiser:read,
account_advertiser:read_all,
account_advertiser:write,
account_operator:manage,
account_operator:read,
ad_catalog:read,
ad_catalog:write,
ad_source:read,
ad_source:write,
ad_unit:read,
ad_unit:read_management,
ad_unit:write,
allocation:metric,
allocation:read,
allocation:read_all,
allocation:reject,
allocation:write,
allocation:publish,
allocation:finish,
allocation:edit_ext,
analytics:read,
analytics:own,
analytics:read_all,
audience:read,
audience:write,
audience_segment:read,
audience_segment:write,
audit_log:read,
catalog:read,
catalog:write,
creative:read,
creative:write,
custom_targeting_key:delete,
custom_targeting_key:read,
custom_targeting_key:write,
custom_targeting_segment:read,
custom_targeting_segment:write,
custom_targeting_value:delete,
custom_targeting_value:read,
custom_targeting_value:write,
developer_mode:use,
experiment:read,
experiment:write,
external_creative:block,
external_creative:metric,
external_creative:read,
external_creative:unblock,
lica:read,
lica:write,
line_item:read,
line_item:read_all,
line_item:write,
media:read,
media:read_all,
media:write,
native_format:read,
native_format:write,
native_style:read,
native_style:write,
order:read,
order:write,
placement:read,
placement:read_management,
placement:write,
profile:read,
profile:update,
settings:read,
settings:write,
system:control
credit
number
기본값:0

사용자 크레딧

deleted_at
string<date-time> | null

사용자 소프트 삭제 시각

name
string | null

사용자 이름

no
integer | null
preferences
any | null

사용자 환경설정